import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {OperComponent} from "./oper.component";
import {OperDetailComponent} from "./oper-detail/oper-detail.component";

const routes: Routes = [
  {
    path: "",
    component: OperComponent
  },
  {
    path: "oper-detail",
    component: OperDetailComponent
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
  providers: []
})
export class OperRoutingModule { }
